package cn.org.wifit.core.entity;

import java.util.List;

/**
 * datatabler接收参数封装
 * @author sunshine
 *
 */
public class DatatableReturnDataExt
{
   private int iTotalRecords;
   private int iTotalDisplayRecords;
   private List<? extends RelationalAbstractEntity> aaData;
   public DatatableReturnDataExt(int totalRecords,List<? extends RelationalAbstractEntity> data){
       this.setiTotalDisplayRecords(totalRecords);
       this.setiTotalRecords(totalRecords);
       this.setAaData(data);
   }
public int getiTotalRecords()
{
    return iTotalRecords;
}
public void setiTotalRecords(int iTotalRecords)
{
    this.iTotalRecords = iTotalRecords;
}
public int getiTotalDisplayRecords()
{
    return iTotalDisplayRecords;
}
public void setiTotalDisplayRecords(int iTotalDisplayRecords)
{
    this.iTotalDisplayRecords = iTotalDisplayRecords;
}


public List<? extends RelationalAbstractEntity> getAaData()
{
    return aaData;
}
public void setAaData(List<? extends RelationalAbstractEntity> aaData)
{
    this.aaData = aaData;
}
public static void main(String[] args){
       
   }
}
